package com.hkbigdata.sybx.config;

import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;

import javax.sql.DataSource;

/**
 * @author yangjing
 * @creat 2025-05-07-11:02
 * @email 3010335359@qq.com
 */
public class UserFeedbackConfig {
    @ConfigurationProperties(prefix = "spring.datasource.rufa.userfeedback")
    @Bean
    public DataSource dataSource() {
        return new DruidDataSource();
    }

}
